package com.atguigu.gulimall.ware.service;

import com.atguigu.gulimall.ware.vo.MergePucharseVo;
import com.atguigu.gulimall.ware.vo.PurchaseVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author lxx
 * @email 1914264274@qq.com
 * @date 2022-03-08 15:42:01
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);


    PageUtils queryUnreceiveForm(Map<String, Object> params);

    void mergePurchase(MergePucharseVo mergePucharseVo);

    void receivePurchase(List<Long> ids);

    void finishPurchase(PurchaseVo purchaseVo);
}

